package com.cupk.common.base.config;

/**
 * @author tjy
 * redis中存储字段
 * @date 2023/3/24
 * @apiNote
 */
public class RedisKeyContant {
    /**
     * 用户信息缓存有效时间
     */
    public static final Long USERS_INFO_TTL = 30L;

    /**
     * 设备信息缓存有效时间
     */
    public static final Long DEVICES_INFO_TTL = 60L;

    /**
     * 监控信息缓存有效时间
     */
    public static final Long DEVICES_RECORD_TTL = 5L;

    /**
     * 用户列表字段
     */
    public static final String USERS_INFO = "users_info";

    /**
     * 禁用用户列表字段
     */
    public static final String USERS_INFO_BAN = "users_info_ban";

    /**
     * 设备信息字段
     */
    public static final String DEVICE_INFO = "devices_info";

    /**
     * 监控信息字段
     */
    public static final String DEVICE_RECORD = "devices_record";

    /**
     * 历史状态信息字段
     */
    public static final String HISTORY_DEVICE_STATUS = "history_device_status";
}
